/**
 * 
 */
package ${basepackage}.model.vo.op.opuser;

import javax.validation.GroupSequence;
import javax.validation.constraints.NotNull;

import org.hibernate.validator.constraints.NotBlank;

import com.excalibur.core.model.BaseObject;

import ${basepackage}.model.vo.validation.IConstraintGroup;
import ${basepackage}.model.vo.validation.INotNullGroup;

/**
 * @author "Jiance Qin"
 * 
 * @date 2014年3月10日
 * 
 * @time 下午4:45:29
 * 
 * @desc
 * 
 */
@GroupSequence(value = { INotNullGroup.class, IConstraintGroup.class,
		UpdatePasswordForm.class })
public class UpdatePasswordForm extends BaseObject {

	/**
	 * 
	 */
	private static final long serialVersionUID = -5275539481794221767L;

	@NotNull(message = "{webapp.validation.UpdatePasswordForm.password.NotBlank}", groups = INotNullGroup.class)
	private String password;

	@NotBlank(message = "{webapp.validation.UpdatePasswordForm.newPassword.NotBlank}", groups = INotNullGroup.class)
	private String newPassword;

	@NotBlank(message = "{webapp.validation.UpdatePasswordForm.rePassword.NotBlank}", groups = INotNullGroup.class)
	private String rePassword;

	@NotBlank(message = "{webapp.validation.UpdatePasswordForm.captchaKey.NotBlank}", groups = INotNullGroup.class)
	private String captchaKey;

	@NotBlank(message = "{webapp.validation.UpdatePasswordForm.captcha.NotBlank}", groups = INotNullGroup.class)
	private String captcha;

	/**
	 * 
	 */
	public UpdatePasswordForm() {

	}

	/**
	 * @return the captchaKey
	 */
	public String getCaptchaKey() {
		return captchaKey;
	}

	/**
	 * @param captchaKey
	 *            the captchaKey to set
	 */
	public void setCaptchaKey(String captchaKey) {
		this.captchaKey = captchaKey;
	}

	/**
	 * @return the captcha
	 */
	public String getCaptcha() {
		return captcha;
	}

	/**
	 * @param captcha
	 *            the captcha to set
	 */
	public void setCaptcha(String captcha) {
		this.captcha = captcha;
	}

	/**
	 * @return the password
	 */
	public String getPassword() {
		return password;
	}

	/**
	 * @param password
	 *            the password to set
	 */
	public void setPassword(String password) {
		this.password = password;
	}

	/**
	 * @return the newPassword
	 */
	public String getNewPassword() {
		return newPassword;
	}

	/**
	 * @param newPassword
	 *            the newPassword to set
	 */
	public void setNewPassword(String newPassword) {
		this.newPassword = newPassword;
	}

	/**
	 * @return the rePassword
	 */
	public String getRePassword() {
		return rePassword;
	}

	/**
	 * @param rePassword
	 *            the rePassword to set
	 */
	public void setRePassword(String rePassword) {
		this.rePassword = rePassword;
	}

	/**
	 * @return the serialversionuid
	 */
	public static long getSerialversionuid() {
		return serialVersionUID;
	}

}
